package cn.demo.pm.service;

import cn.demo.common.core.page.PageQuery;
import java.util.List;
import com.mybatisflex.core.paginate.Page;
import cn.demo.pm.domain.PmStoreOrder;
import com.mybatisflex.core.service.IService;

/**
 * 积分商城订单Service接口
 *
 * @author xtjun
 * @date 2024-06-06
 */
public interface IPmStoreOrderService extends IService<PmStoreOrder>{
    /**
     * 查询积分商城订单
     *
     * @param id 积分商城订单主键
     * @return 积分商城订单
     */
    public PmStoreOrder selectPmStoreOrderById(String id);

    /**
     * 查询积分商城订单列表
     *
     * @param pmStoreOrder 积分商城订单
     * @return 积分商城订单集合
     */
    public Page<PmStoreOrder> selectPmStoreOrderPage(PmStoreOrder pmStoreOrder, PageQuery pageQuery);
    public List<PmStoreOrder> selectPmStoreOrderList(PmStoreOrder pmStoreOrder);

    /**
     * 新增积分商城订单
     *
     * @param pmStoreOrder 积分商城订单
     * @return 结果
     */
    public int insertPmStoreOrder(PmStoreOrder pmStoreOrder);

    /**
     * 修改积分商城订单
     *
     * @param pmStoreOrder 积分商城订单
     * @return 结果
     */
    public int updatePmStoreOrder(PmStoreOrder pmStoreOrder);

    /**
     * 批量删除积分商城订单
     *
     * @param ids 需要删除的积分商城订单主键集合
     * @return 结果
     */
    public int deletePmStoreOrderByIds(List<String> ids);

    /**
     * 删除积分商城订单信息
     *
     * @param id 积分商城订单主键
     * @return 结果
     */
    public int deletePmStoreOrderById(String id);

    int addOrder(PmStoreOrder entry);

}
